From: kfraser@localhost.localdomain Date: Mon, 2 Apr 2007 12:08:05 +0000 (+0100) Subject: xentop: Fix memory leak. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15270^2~12 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=eeafc64a2aee8bb51f380e9a3226855abaa3feb9;p=xen.git xentop: Fix memory leak. Signed-off-by: Atsushi SAKAI --- diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index faff532bfa..2bb28205f6 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -984,6 +984,8 @@ static void top(void) if(!batch) do_bottom_line(); + + free(domains); } int main(int argc, char **argv)